﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyForecast.aspx.cs" Inherits="ProdeFrontEnd.Pags.MyForecast" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="../Style/MyForecastStyle.css" rel="stylesheet" type="text/css" />

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="contentMyForecast">           
            <h4>Estos son tus pronosticos, te deseamos mucha suerte</h4> 
            <div id="gridMyForecast">            
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>

                        <asp:TemplateField HeaderText="">
                            <ItemTemplate>
                                <img src="<%# Eval("pathFlag1") %>" alt="" width="70px" height="46px" style="border-width:0px;" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Equipo 1" DataField="team1" />
                        <asp:BoundField HeaderText="" DataField="VTeam1" />
                        <asp:BoundField HeaderText="VS" DataField="vs" />
                        <asp:BoundField HeaderText="" DataField="VTeam2" />
                        <asp:BoundField HeaderText="Equipo 2" DataField="team2" />
                        <asp:TemplateField HeaderText="">
                            <ItemTemplate>
                                <img src="<%# Eval("pathFlag2") %>" alt="" width="70px" height="46px" style="border-width:0px;" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Torneo" DataField="tournament" />
                    </Columns>
                    <FooterStyle BackColor="Transparent" Font-Bold="True" ForeColor="#cdda64" />
                    <PagerStyle BackColor="Transparent" ForeColor="#cdda64" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="Transparent" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="Transparent" Font-Bold="True" ForeColor="#cdda64" />
                    <EditRowStyle BackColor="Transparent" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <br />
                Torneos<br />
                <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" 
                    onrowcommand="GridView3_RowCommand">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>                        
                        <asp:BoundField HeaderText="Torneo" DataField="tournament" />
                        <asp:BoundField HeaderText="Inicia" DataField="start" />
                        <asp:BoundField HeaderText="Finaliza" DataField="finish" />
                        <asp:TemplateField HeaderText="">  
                          <ItemTemplate>     
                          <asp:LinkButton ID="signonButton" runat="server" Text="Suscribir" CommandName="signon" CommandArgument='<%# Eval("idTournament") %>' />
                          </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <br />
                Mis Torneos<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>                        
                        <asp:BoundField HeaderText="Torneo" DataField="tournament" />
                        <asp:BoundField HeaderText="Inicia" DataField="start" />
                        <asp:BoundField HeaderText="Finaliza" DataField="finish" />
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </div>    
        </div>
    </form>
</body>
</html>
